<?php

namespace api\modules\v1;

/**
 * Class Module
 * @package api\modules\v1
 * @SWG\Swagger(
 *     schemes={"https","http"},
 *     host=API_HOST,
 *     basePath="/v1",
 *     consumes={"application/json","application/x-www-form-urlencoded"},
 *     produces={"application/json"},
 *
 *   @SWG\Info(
 *     version="1.0.0",
 *     title="XUAN接口文档",
 *     description="接口文档"
 *   )
 * )
 * @SWG\Tag(
 *     name="Base", description="基础组件"
 * )
 * @SWG\SecurityScheme(
 *   securityDefinition="user",
 *   type="apiKey",
 *   in="query",
 *   name="access-token",
 *   description="用户标识",
 * )
 * @SWG\SecurityScheme(
 *   securityDefinition="app",
 *   type="apiKey",
 *   in="query",
 *   name="appid",
 *   description="应用ID"
 * )
 */

class Module extends \yii\base\Module
{
    /**
     * {@inheritdoc}
     */
    public $controllerNamespace = 'api\modules\v1\controllers';

    /**
     * {@inheritdoc}
     */
    public function init()
    {
        parent::init();

        // custom initialization code goes here
    }
}
